package com.sc.nft.entity.vo.ecology;


import com.sc.nft.enums.EcologyHatchShareProfitMethodConfTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.List;

@Data
public class AdminEcologyHatchCollecionShareProfitConfDetailsVO {


    @ApiModelProperty(value = "市值管理平台不分成份数")
    private Integer platformNotDivideIntoNum;

    @ApiModelProperty(value = "市值管理品牌不分成份数")
    private Integer daoNotDivideIntoNum;

    @ApiModelProperty(value = "分润类型 FIXED_PROPORTION:固定比例,SMELTER_SMELTER:谁熔炼归谁")
    private EcologyHatchShareProfitMethodConfTypeEnum type;

    @ApiModelProperty(value = "类型名称")
    private String typeName;

    @ApiModelProperty(value = "是否开启共振 固定比例时不开启")
    private Boolean resonanceStatus;

    @ApiModelProperty(value = "共振服务中心DaoId")
    private Long resonanceServiceCenterDaoId;

    @ApiModelProperty(value = "服务中心分润系数")
    private BigDecimal resonanceServiceCenterCoefficient;

    @ApiModelProperty(value = "共振服务中心系数")
    private List<ResonanceServiceCenterCoefficientConfVO> resonanceServiceCenterCoefficientConfDTOList;

    @ApiModelProperty(value = "收益配置详情")
    private List<AdminEcologyIncomeConfDetailsVO> list;


    public void setType(EcologyHatchShareProfitMethodConfTypeEnum type) {
        this.type = type;
        this.typeName = type.getDescription();
    }
}
